/**
 * 我的钱包模块路由
 */

const wallet = () => import('../../wallet/wallet.vue');
const walletDraw = () => import('../../wallet/wallet-draw/wallet-draw.vue');
const walletPay = () => import('../../wallet/wallet-pay/wallet-pay.vue');
const record = () => import('../../wallet/record/wallet-record.vue');

export default [
    {
        path: 'my-wallet',
        name: 'myWallet',
        component: wallet,
        meta: {
            title: '钱包'
        },
        children: [
            {
                path: 'draw',
                name: 'wallet-draw',
                component: walletDraw,
                meta: {
                    title: '提现'
                }
            },
            {
                path: 'pay',
                name: 'wallet-pay',
                component: walletPay,
                meta: {
                    title: '充值'
                }
            },
            {
                path: 'record',
                name: 'record',
                component: record,
                meta: {
                    title: '账单记录'
                }
            }
        ]
    }
];
